package com.logos.musicframe.converter;

import com.logos.musicframe.entity.Playlist;
import com.logos.musicframe.entity.SongPlayHistory;
import com.logos.musicframe.req.PlaylistReq;
import com.logos.musicframe.resp.PlaylistResp;
import com.logos.musicframe.resp.SongPlayHistoryResp;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;


/**
 * @author logos
 * date 2025/5/29 17:57
 * @version v1.0
 * @Package com.logos.musicframe.converter
 */
@Mapper
public interface SongPlayHistoryConverter {

    SongPlayHistoryConverter INSTANCE = Mappers.getMapper(SongPlayHistoryConverter.class);

    /**
     * entity TO resp
     * @return
     */
    SongPlayHistoryResp convertEntityToResp(SongPlayHistory songPlayHistory);

}